home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / Squeaky.swf / scripts / frame_40 / PlaceObject2_256_32 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2005-08-04  |  266 b   |  15 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.hero._y == 69.95 && this._y < 250)
  3.    {
  4.       this._y += 6;
  5.    }
  6.    if(_root.hero.hitTest(this.ufotop) && _root.hero._y < this._y)
  7.    {
  8.       this.gotoAndStop(2);
  9.    }
  10.    else
  11.    {
  12.       this.gotoAndStop(1);
  13.    }
  14. }
  15.